import 'package:common/base/base_route_config.dart';
import 'package:common/constant/route_name_config.dart';
import 'package:flutter/cupertino.dart';

import '../view/awake_by_native_page.dart';
import '../view/main_page.dart';
import '../view/path_provider_page.dart';
import '../view/web_view_page.dart';

class HomeRouteConfig extends BaseRouteConfig{

  @override
  Map<String, WidgetBuilder> onInitRouteConfig(BuildContext context){
    return {
      RouteNameConfig.kMainPage: (context) => const MainPage(),
      RouteNameConfig.kAwakeByNativePage: (context) => const AwakeByNativePage(),
      RouteNameConfig.kPathProviderPage: (context) => const PathProviderPage(),
      RouteNameConfig.kWebViewPage: (context) => const WebViewPage(),
    };
  }

}